package com.owc.common.exception;

import com.owc.common.enums.ExceptionEnum;
import lombok.Data;

/**
 * @Author xiaom
 * @Date 2020/2/28 10:50
 * @Version 1.0.0
 * @Description <>
 **/
@Data
public class BadInitException extends OWCException {

    public BadInitException(String message) {
        super(message);
    }

    public BadInitException(ExceptionEnum exceptionEnum){
        super(exceptionEnum.getMessage());
    }

    public BadInitException(String message, Throwable cause) {
        super(message, cause);
    }

}
